package com.tssm.pojo;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * SarcRefer entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "SARC_REFER", schema = "dbo", catalog = "ts")
public class SarcRefer implements java.io.Serializable {

	private static final long serialVersionUID = 8089872215198020254L;
	private Long referid;
	private Long supplierid;
	private String name;
	private String nameU8;
	private String codeU8;
	private Double price;
	private Long least;
	private String def1;
	private String def2;
	private String def3;
	private String def4;
	private String def5;
	private String def6;
	private String def7;
	private String def8;
	private String def9;
	private Date ts;
	private Long dr;

	// Constructors

	/** default constructor */
	public SarcRefer() {
	}

	/** full constructor */
	public SarcRefer(Long supplierid, String name, String nameU8,
			String codeU8, Double price, Long least, String def1, String def2,
			String def3, String def4, String def5, String def6, String def7,
			String def8, String def9, Date ts, Long dr) {
		this.supplierid = supplierid;
		this.name = name;
		this.nameU8 = nameU8;
		this.codeU8 = codeU8;
		this.price = price;
		this.least = least;
		this.def1 = def1;
		this.def2 = def2;
		this.def3 = def3;
		this.def4 = def4;
		this.def5 = def5;
		this.def6 = def6;
		this.def7 = def7;
		this.def8 = def8;
		this.def9 = def9;
		this.ts = ts;
		this.dr = dr;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "REFERID", unique = true, nullable = false, precision = 18, scale = 0)
	public Long getReferid() {
		return this.referid;
	}

	public void setReferid(Long referid) {
		this.referid = referid;
	}

	@Column(name = "SUPPLIERID", precision = 18, scale = 0)
	public Long getSupplierid() {
		return this.supplierid;
	}

	public void setSupplierid(Long supplierid) {
		this.supplierid = supplierid;
	}

	@Column(name = "NAME")
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "NAME_U8")
	public String getNameU8() {
		return this.nameU8;
	}

	public void setNameU8(String nameU8) {
		this.nameU8 = nameU8;
	}

	@Column(name = "CODE_U8")
	public String getCodeU8() {
		return this.codeU8;
	}

	public void setCodeU8(String codeU8) {
		this.codeU8 = codeU8;
	}

	@Column(name = "PRICE", precision = 18)
	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	@Column(name = "LEAST", precision = 18, scale = 0)
	public Long getLeast() {
		return this.least;
	}

	public void setLeast(Long least) {
		this.least = least;
	}

	@Column(name = "DEF1")
	public String getDef1() {
		return this.def1;
	}

	public void setDef1(String def1) {
		this.def1 = def1;
	}

	@Column(name = "DEF2")
	public String getDef2() {
		return this.def2;
	}

	public void setDef2(String def2) {
		this.def2 = def2;
	}

	@Column(name = "DEF3")
	public String getDef3() {
		return this.def3;
	}

	public void setDef3(String def3) {
		this.def3 = def3;
	}

	@Column(name = "DEF4")
	public String getDef4() {
		return this.def4;
	}

	public void setDef4(String def4) {
		this.def4 = def4;
	}

	@Column(name = "DEF5")
	public String getDef5() {
		return this.def5;
	}

	public void setDef5(String def5) {
		this.def5 = def5;
	}

	@Column(name = "DEF6")
	public String getDef6() {
		return this.def6;
	}

	public void setDef6(String def6) {
		this.def6 = def6;
	}

	@Column(name = "DEF7")
	public String getDef7() {
		return this.def7;
	}

	public void setDef7(String def7) {
		this.def7 = def7;
	}

	@Column(name = "DEF8")
	public String getDef8() {
		return this.def8;
	}

	public void setDef8(String def8) {
		this.def8 = def8;
	}

	@Column(name = "DEF9")
	public String getDef9() {
		return this.def9;
	}

	public void setDef9(String def9) {
		this.def9 = def9;
	}

	@Column(name = "TS")
	public Date getTs() {
		return this.ts;
	}

	public void setTs(Date ts) {
		this.ts = ts;
	}

	@Column(name = "DR", precision = 18, scale = 0)
	public Long getDr() {
		return this.dr;
	}

	public void setDr(Long dr) {
		this.dr = dr;
	}

}